# models.py
from django.db import models




class Good(models.Model):
    Gid = models.CharField(max_length=10, primary_key=True)
    GName = models.CharField(max_length=30)
    GPay = models.FloatField()
    Cid = models.CharField(max_length=10)
    GIntroduction = models.CharField(max_length=40, blank=True, null=True)
    other = models.CharField(max_length=20, blank=True, null=True)

    class Meta:
        db_table = 'tb_good'
